﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using DAL.Enums;

namespace CacheStorage
{
    #region 初始化
    public partial class CS
    {

        private static object lockHelper = new object();
        private static volatile CS instance = null;

        private CS()
        {

        }

        public static CS Instance
        {
            get
            {
                if (instance == null)
                {
                    lock (lockHelper)
                    {
                        if (instance == null)
                        {
                            instance = new CS();
                        }
                    }
                }
                return instance;
            }
        }
    }

    #endregion

    public partial class CS
    {

    }
}
